local assets =
{
    Asset("ANIM", "anim/wheeler_npc.zip"),

}
local function get_common_inst()
    local inst = require("prefabs/npc_characters/__00__human_npc_common")():Common_Npc_Create()
    return inst
end

local function wheeler()
    local inst = get_common_inst()
    -- inst.AnimState:SetBuild("woodlegs")
    -- inst.AnimState:OverrideSymbol(layer, "woodlegs_npc", layer2)
    local layers = {
        ["arm_lower_cuff"] = true,
        ["arm_lower"] = true,
        ["arm_upper"] = true,
        ["arm_upper_skin"] = true,
        ["cheeks"] = true,
        ["face"] = true,
        ["foot"] = true,
        ["hair"] = true,
        ["hair_hat"] = true,
        ["hairfront"] = true,
        ["hairpigtails"] = false,
        ["hand"] = true,
        ["headbase"] = true,
        ["headbase_hat"] = true,
        ["leg"] = true,
        ["skirt"] = false,
        ["tail"] = false,
        ["torso"] = true,
        ["torso_pelvis"] = true,
        ["torso_wide"] = true,
    }
    for layer_name, flag in pairs(layers) do
        if flag == true then
            inst.AnimState:OverrideSymbol(layer_name,"wheeler_npc", layer_name)        
        else
            inst.AnimState:HideSymbol(layer_name)
        end
    end

    inst.prefab_base = "wheeler"
    -- inst.customidleanim = "idle_wortox"  -- 站立休闲动作
    inst.soundsname = "wickerbottom"
    -- inst.talk_sound = "dontstarve/characters/wickerbottom/talk_LP"

    return inst
end

return Prefab("wheeler_npc",wheeler,assets)